package com.cpecc.manager.system;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.cpecc.dao.system.LDAPDao;
import com.cpecc.model.system.LDAP;

@Service
public class LDAPManager {

	@Autowired
	private LDAPDao ldapDao;
	
	public LDAP getLDAP(){
		return ldapDao.getLDAP2();
	}
	
	public void save(LDAP ldap){
		ldapDao.save(ldap);
	}
	
	public boolean cover(LDAP ldap){
		return ldapDao.cover(ldap);
	}
}
